package com.kaifamiao.demo.d0905;

import java.io.Closeable;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.ArrayList;

public class Demo02 {

    public static void main(String[] args) throws SQLException {
        // try-with-resources () 里的内容必须实现 AutoCloseable
        try(Connection connection = DriverManager.getConnection("");
            PreparedStatement preparedStatement = connection.prepareStatement("");
        ){

        }

    }
}
